package com.itheima.service;

import com.itheima.domain.OmsOrderReturnReason;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.vo.PageBeanVo;

import java.util.List;

/**
 * <p>
 * 退货原因表 服务类
 * </p>
 *
 * @author zhuguo
 * @since 2022-11-10
 */
public interface OmsOrderReturnReasonService  {
    //退货原因表分页查询
    PageBeanVo findByPage(int pageNum, int pageSize);
    //根据id获取单个退货原因详情信息
    OmsOrderReturnReason findInfoById(Long id);
    //修改退货原因或修改退货原因启用状态
    void updateReturnReason(OmsOrderReturnReason reason);
    //批量删除退货原因
    void deleteByIds(List<Long> ids);
    //添加退货原因
    void save(OmsOrderReturnReason omsOrderReturnReason);
}
